/**
 * 
 */
package com.gopay.common.constants.bank;

/**
 * @CmbConstants.java
 * @author Ryan
 * @2013-11-20 上午9:14:50  www.gopay.com.cn Inc.All rights reserved.
 */
public class CmbConstants {

    /**********************  订单状态 ************************/
    /*** 0－已结帐      */
    public final static String  CMB_ORDER_STATUS_SUCCESS = "0";
    /*** 1－已撤销      */
    public final static String  CMB_ORDER_STATUS_UNDONE = "1";
    /*** 2－部分结帐    */
    public final static String  CMB_ORDER_STATUS_PART_SUCCESS = "2";
    /*** 3－退款        */
    public final static String  CMB_ORDER_STATUS_REFUND = "3";
    /*** 4－未结帐      */
    public final static String  CMB_ORDER_STATUS_UNSETTLED = "4";
    /*** 5-无效状态     */
    public final static String  CMB_ORDER_STATUS_INVALID = "5";
    /*** 6－未知状态    */
    public final static String  CMB_ORDER_STATUS_UNKNOWN = "6";
    
    /********************** 订单查询状态***********************/
    /*** 订单查询成功状态 */
    public final static String CMB_QUERY_STATUS_SUCCESS="0";
    
    public final static Integer CMB_QUERY_STATUS_SUCCESS_INT= 0;
    
    /*********************** 订单支付状态************************/
    /*** 订单支付成功 */
    public final static String CMB_PAY_STATUS_SUCCESS="Y";
    /*** 订单支付失败 */
    public final static String BNKFLG_Y="Y";
    public final static String BNKFLG_N="N";
    
    public final static String RET_SUC="0";
    
    public final static String FIN="FIN";
    
    public final static String FAIL="F";
    
    public final static String CMB_BCDL_SUC="S";
    
    /** 企业订单支付成功*/
    public final static String CMBB2B_PAY_STATUS_SUCCESS = "S";
    
    /** 商户撤销订单*/
    public final static String CMBB2B_PAY_MERCHANT_CANCEL = "M";
    
    /** 企业撤销订单*/
    public final static String CMBB2B_PAY_COMPANY_CANCEL = "E";
    
    /** FIN才有下面的查询状态，若该字段为其他状态，显示进行中*/
    public final static String CMBB2B_QUERY_STATUS_FIN = "FIN";   
    
    /** 订单支付成功*/
    public final static String CMBB2B_QUERY_STATUS_SUCCESS = "S";

    /** 订单支付成功失败*/
    public final static String CMBB2B_QUERY_STATUS_FAIL = "F";

    /** 订单过期作废*/
    public final static String CMBB2B_QUERY_EXPIRE = "H";

    /** 待缴费*/
    public final static String CMBB2B_QUERY_NO_PAY = "INP";

    /** 企业（买方）撤销订单*/
    public final static String CMBB2B_QUERY_COMPANY_REVOCATION = "E";

    /** 商户（卖方）撤销订单*/
    public final static String CMBB2B_QUERY_MERCHANT_REVOCATION = "D";

    /** 多收方支付不成功*/
    public final static String CMBB2B_QUERY_PAY_NO_SUCCESS = "B";
    
    

    
    
    
}
